﻿using SHZY.Common.Const;
using SqlSugar;

namespace SHZY.system.Entitys;

/// <summary>
/// 红绿灯设置实体.
/// </summary>
[SugarTable("qms_base_overduesetting","红绿灯设置")]
[Tenant(ClaimConst.TENANTID)]
public class QmsBaseOverduesettingEntity
{
    /// <summary>
    /// 主键.
    /// </summary>
    [SugarColumn(ColumnName = "F_Id",ColumnDescription = "主键", IsPrimaryKey = true)]
    public string Id { get; set; }

    /// <summary>
    /// 业务类型，字典项.
    /// </summary>
    [SugarColumn(ColumnName = "F_Type",ColumnDescription = "业务类型，字典项")]
    public string Type { get; set; }

    /// <summary>
    /// 状态，即将逾期=1 逾期=2.
    /// </summary>
    [SugarColumn(ColumnName = "F_Status",ColumnDescription = "状态，即将逾期=1 逾期=2")]
    public string Status { get; set; }

    /// <summary>
    /// 时间单位 day=天 hour=小时 minute=分钟 second=秒.
    /// </summary>
    [SugarColumn(ColumnName = "F_TimeUnit",ColumnDescription = "时间单位 day=天 hour=小时 minute=分钟 second=秒")]
    public string TimeUnit { get; set; }

    /// <summary>
    /// 时间最小值.
    /// </summary>
    [SugarColumn(ColumnName = "F_MinValue",ColumnDescription = "时间最小值")]
    public int? MinValue { get; set; }

    /// <summary>
    /// 时间最大值.
    /// </summary>
    [SugarColumn(ColumnName = "F_MaxValue",ColumnDescription = "时间最大值")]
    public int? MaxValue { get; set; }

    /// <summary>
    /// 消息接收人.
    /// </summary>
    [SugarColumn(ColumnName = "F_RecipientList",ColumnDescription = "消息接收人")]
    public string RecipientList { get; set; }

    /// <summary>
    /// 消息模板.
    /// </summary>
    [SugarColumn(ColumnName = "F_MessageTemplate",ColumnDescription = "消息模板")]
    public string MessageTemplate { get; set; }

    /// <summary>
    /// 创建人.
    /// </summary>
    [SugarColumn(ColumnName = "F_CreatorUserId",ColumnDescription = "创建人")]
    public string CreatorUserId { get; set; }

    /// <summary>
    /// 创建时间.
    /// </summary>
    [SugarColumn(ColumnName = "F_CreatorTime",ColumnDescription = "创建时间")]
    public DateTime? CreatorTime { get; set; }

    /// <summary>
    /// 更新人.
    /// </summary>
    [SugarColumn(ColumnName = "F_LastModifyUserId",ColumnDescription = "更新人")]
    public string LastModifyUserId { get; set; }

    /// <summary>
    /// 更新时间.
    /// </summary>
    [SugarColumn(ColumnName = "F_LastModifyTime",ColumnDescription = "更新时间")]
    public DateTime? LastModifyTime { get; set; }

    /// <summary>
    /// 有效标志0无效 1有效.
    /// </summary>
    [SugarColumn(ColumnName = "F_EnabledMark",ColumnDescription = "有效标志0无效 1有效")]
    public int? EnabledMark { get; set; }

    /// <summary>
    /// 删除标志1删除.
    /// </summary>
    [SugarColumn(ColumnName = "F_DeleteMark",ColumnDescription = "删除标志1删除")]
    public int? DeleteMark { get; set; }

    /// <summary>
    /// 删除时间.
    /// </summary>
    [SugarColumn(ColumnName = "F_DeleteTime",ColumnDescription = "删除时间")]
    public DateTime? DeleteTime { get; set; }

    /// <summary>
    /// 删除用户.
    /// </summary>
    [SugarColumn(ColumnName = "F_DeleteUserId",ColumnDescription = "删除用户")]
    public string DeleteUserId { get; set; }

}